import { createAction, createSlice } from "@reduxjs/toolkit";

export const medicinesdelitas = createSlice({
  name: "delitas",
  initialState: {
    id: "",
  },
  reducers: {
    delitasadd(state, { payload }) {
      state.id = payload;
    },
  },
});

export const { delitasadd } = medicinesdelitas.actions;
